import 'package:flutter/material.dart';
import 'package:flutter_module/pages/root_page/skeleton_item.dart';

class InitView extends StatefulWidget {
  @override
  _InitView createState() => _InitView();
}

class _InitView extends State<InitView> {
  int _count = 10;

  @override
  Widget build(BuildContext context) {
    return CustomScrollView(
      slivers: [
        SliverList(
          delegate: SliverChildBuilderDelegate(
            (context, index) {
              return const SkeletonItem();
            },
            childCount: _count,
          ),
        ),
      ],
    );
  }
}
